import { BaseEntity } from '@cool-midway/core';
import { Column, Entity, Index } from 'typeorm';
@Entity('t_website_user')
export class WebsiteUserEntity extends BaseEntity {
  @Index()
  @Column({  comment: '用户ID',type: 'varchar', length: 100, nullable: false })
  user_id: string;

  @Column({  comment: '网站ID', type: 'varchar', length: 255, nullable: false })
  website_id: string;

}
